/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package calculator;

import java.util.Observable;

/**
 *Tilfoej kode, der rent faktisk kan regne.
 * @author Sigurd
 */
class CalculatorModel extends Observable{
    
    private int test;
    
    public CalculatorModel() {
    test = 0;
    //Indsaet calculator kode her
    
    }
    public void addToTest(){
        test = test+1;
        setChanged();
        notifyObservers(this);
    }
    
        public int getTest(){
        return test;
        }
}
